package com.dongdongshop.service.goods;

import com.dongdongshop.pojo.goods.TbGoods;
import com.dongdongshop.pojo.goods_desc.TbGoodsDesc;
import com.dongdongshop.pojo.item.TbItem;
import com.dongdongshop.pojo.seller.TbSeller;

import java.util.List;

public interface GoodsService {
    int insertGoods(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc,List<TbItem> tbItems,TbSeller tbSeller);

    List<TbGoods> listGoodsBySellerId(TbSeller tbSeller);

    int updateAudit(Long[] ids);

    List<TbGoods> listGoodsByUnreviewed();

    int updateAuditToPass(Long[] ids);

    TbGoods getGoodsById(Long goodsId);
}
